﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Conventions;

namespace Commander.DataLayer.Conventions {
  class PrimaryKeyConvention : IIdConvention {

    public void Apply(FluentNHibernate.Conventions.Instances.IIdentityInstance instance) {
      instance.Column(instance.EntityType.Name + "Id");
    }
  }

}
